package com.charlee.service;

import com.charlee.entity.User;

import java.util.List;

/**
 * Created by charlee
 * on 17-6-10
 * version v1.0.0
 */
public interface UserService {

    /**
     * 登录
     *
     * @param username 用户名
     * @param password 密码
     * @return user
     */
    User findUser(String username, String password);

    /**
     * 查询所有用户
     * @return users
     */
    List<User> findAllUser();
}
